package com.che.software.testato.domain.entity;

import java.io.Serializable;

/**
 * Class representing an action.
 * 
 * @author Clement HELIOU (clement.heliou@che-software.com).
 * @copyright Che Software.
 * @license GNU General Public License.
 * @see Serializable
 * @since July, 2011.
 * 
 *        This file is part of Testato.
 * 
 *        Testato is free software: you can redistribute it and/or modify it
 *        under the terms of the GNU General Public License as published by the
 *        Free Software Foundation, either version 3 of the License, or (at your
 *        option) any later version.
 * 
 *        Testato is distributed in the hope that it will be useful, but WITHOUT
 *        ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 *        FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
 *        for more details.
 * 
 *        You should have received a copy of the GNU General Public License
 *        along with Testato. If not, see <http://www.gnu.org/licenses/>.
 * 
 *        Testato's logo is a creation of Arrioch
 *        (http://arrioch.deviantart.com/) and it's distributed under the terms
 *        of the Creative Commons License.
 */
public class Action implements Serializable {

	/**
	 * Constants.
	 */
	private static final long serialVersionUID = 5772355429571503155L;

	/**
	 * Members.
	 */
	private int actionId, actionPlanId, sourceIntentionId, targetIntentionId;

	/**
	 * Getter for the private field value actionId.
	 * 
	 * @return the actionId field value.
	 */
	public int getActionId() {
		return actionId;
	}

	/**
	 * Setting a value to the actionId field.
	 * 
	 * @param actionId the value to set.
	 */
	public void setActionId(int actionId) {
		this.actionId = actionId;
	}

	/**
	 * Getter for the private field value actionPlanId.
	 * 
	 * @return the actionPlanId field value.
	 */
	public int getActionPlanId() {
		return actionPlanId;
	}

	/**
	 * Setting a value to the actionPlanId field.
	 * 
	 * @param actionPlanId the value to set.
	 */
	public void setActionPlanId(int actionPlanId) {
		this.actionPlanId = actionPlanId;
	}

	/**
	 * Getter for the private field value sourceIntentionId.
	 * 
	 * @return the sourceIntentionId field value.
	 */
	public int getSourceIntentionId() {
		return sourceIntentionId;
	}

	/**
	 * Setting a value to the sourceIntentionId field.
	 * 
	 * @param sourceIntentionId the value to set.
	 */
	public void setSourceIntentionId(int sourceIntentionId) {
		this.sourceIntentionId = sourceIntentionId;
	}

	/**
	 * Getter for the private field value targetIntentionId.
	 * 
	 * @return the targetIntentionId field value.
	 */
	public int getTargetIntentionId() {
		return targetIntentionId;
	}

	/**
	 * Setting a value to the targetIntentionId field.
	 * 
	 * @param targetIntentionId the value to set.
	 */
	public void setTargetIntentionId(int targetIntentionId) {
		this.targetIntentionId = targetIntentionId;
	}
}